 package srdb.migration.schema.metadata;
 
 import java.util.ArrayList;
 
 public class ConstraintList
 {
   private ArrayList list = null;
 
   public ConstraintList()
   {
   }
 
   public ConstraintList(ArrayList list) {
     this.list = list;
   }
 
   public void add(Constraint constraint) {
     if (this.list == null) {
       this.list = new ArrayList();
     }
     this.list.add(constraint);
   }
 
   public int size() {
     return this.list != null ? this.list.size() : 0;
   }
 
   public Constraint get(int index) {
     return (Constraint)this.list.get(index);
   }
 
   public void clear() {
     if (this.list != null)
       this.list.clear();
   }
 }

/* 

 * 
 */